home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / batchut / sw_42a.zip / README.1ST < prev    next >
Text File  |  1992-02-29  |  4KB  |  68 lines

  1. To: Previous Users of SW
  2. RE: SW 4.2 Changes...
  3.  
  4.    There are some changes in this version which may affect the way your older 
  5.    batch files operate. 
  6.    
  7.    First, an additional space has been added to the left and right sides 
  8.    for borders 1 - 4. It balances the look of the borders and results in 
  9.    a window that is 2 spaces wider. A window that uses /l5 or custom borders
  10.    will be the same size as in previous versions.
  11.    
  12.    Second, if you have used the /l0 /0 combination, the window no longer 
  13.    has spaces to the left and right of the text. If you want those spaces 
  14.    you will have to add them to the longest string in the window. They will
  15.    also be needed in front of left justified text and after right justified 
  16.    text. The possibility exists that if you have used these parameters in your
  17.    to replace text in an existing window, the new window will no longer cover 
  18.    all of the old text.
  19.  
  20.    Third, the /I parameter can now display a default in the window. All you 
  21.    need to do is use the DOS SET command to create the environment variable 
  22.    before you make the /I call. SW will then display this value in the field.
  23.    You have to remember to make sure the variable does NOT exist as well if
  24.    you want a blank field. Use "SET ANS=" to delete the ANS variable.
  25.  
  26.    The documentation has been rewritten to make it easier to understand. I
  27.    have also included a table of contents to make finding things quicker too.
  28.    A history of SW has been added at the end to list changes.
  29.  
  30.    Screen definitions can now evaluate environment variables. You are no longer
  31.    restricted to using a command line form when you need the variable values to
  32.    be displayed in your windows.
  33.  
  34.    Thank you to Dennis Levin of Los Angeles, CA, Bill Davis of Meadowbrook, CA,
  35.    and Craig Menefee for their ideas and feedback.
  36.  
  37.    SW-42.NEW is a screen definition which lists all the major changes.
  38.  
  39. Addendum:  SW 4.2a 2/29/92
  40.    
  41.    SW-42a fixes a bug in evaluating environment variables in screen definitions
  42.    which caused improper processing of the rest of the file.
  43.  
  44.    Also, an additional Query default indicator has been included ^ to make SW
  45.    compatible with NDOS. The ` can still be used by non-NDOS users.
  46.  
  47.    The /I switch has been enhanced to allow entry of strings longer than the
  48.    field. /I8020 will define an 80 character string with a 20 character field.
  49.    Also, when the default value retrieved from the environment is longer than
  50.    the field, SW will automatically adjust for it. The string cannot be
  51.    lengthened however. Maximum string length is 127 minus the length of the
  52.    variable name.
  53.  
  54.    IMPORTANT NOTE: Pressing ESC while getting User Input no longer wipes out 
  55.    the string. This change was made by user request and prevents SW from 
  56.    removing an existing variable from the environment. If you need to detect 
  57.    an ESC, check the ERRORLEVEL after the /I call. Pressing ESC will return 
  58.    EL 1 from SW and normal entry will return EL 0. If SW encounters an error
  59.    while trying to add to the environment, SW 4.2a will return EL 2. SW still
  60.    displays its own error message as well. Your batch files will need editing.
  61.  
  62.    DI 1.2 has been included with this interum release. It expands /SPACE to
  63.    check drives up to 4000 MB in size. /EXIST has been enhanced with an option
  64.    to automatically change to the drive and directory where the file was found.
  65.    /FIND was added the locate the FIRST occurance of a file on a disk. It also
  66.    has the option to change the drive and directory.
  67.  
  68.